package com.shiyi.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author wangzhanshuai
 * @date 2021/2/16 10:55 下午
 * @since 1.0
 */
public class Role implements Serializable {

    private static final long serialVersionUID = -809892351031368872L;

    private Long id;

    private Date gmtCreated;

    private Date gmtModified;

    private Byte isDeleted;

    private Byte isActive;

    private String roleName;

    private List<User> userList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Byte getIsActive() {
        return isActive;
    }

    public void setIsActive(Byte isActive) {
        this.isActive = isActive;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", gmtCreated=" + gmtCreated +
                ", gmtModified=" + gmtModified +
                ", isDeleted=" + isDeleted +
                ", isActive=" + isActive +
                ", roleName='" + roleName + '\'' +
                ", userList=" + userList +
                '}';
    }
}
